/**
 * Created by Administrator on 2017/12/21 0021.
 */
public class TestThread extends Thread{
    public TestThread(String name) {
        super(name);
    }

    public void run() {
        for(int i = 0;i<5;i++){
            System.out.println(this.getName()+" :"+i);
        }
    }
}